/**
 *
 */
package com.ruicar.afs.cloud.afscase.dispatch.enums;

/**
 *<p>Description: </p>  
 * @author happysayhello
 * @date Jun 29, 2020 
 */
public enum DispatchTypeEnum {
    CREDIT("信审", "CREDIT"), LOAN("放款", "LOAN"), QUALITY_TEST("质检", "QUALITY_TEST"), OTHER("其他", "OTHER");

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the code
     */
    public String getCode() {
        return code;
    }

    /**
     * @param code the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }

    DispatchTypeEnum(String name, String code) {
        this.name = name;
        this.code = code;
    }

    private String name;

    private String code;
}
